package com.baofu.paycore.service.facade.model.authorize;

import com.baofu.paycore.service.facade.model.pay.FundDetailInfoDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 预授权资金单对象
 *
 * User: xin deng  Date: 16/8/30 ProjectName: paycore Version: 1.0
 */
@Setter
@Getter
@ToString(callSuper = true)
public class AuthorizeFundDTO extends FundDetailInfoDTO {


    /** 付款方ID，传递付款方客户帐号(contractNo) */
    @NotBlank(message = "付款方客户账号不能为空")
    @Length(max = 32,message = "付款方客户账号长度不能超过32位")
    private String payerNo;

}
